import React from 'react'

import Render from '@/render'

import './index.less'

function RenderPage() {
  React.useEffect(() => {
    const render = new Render({
      dom: '#render'
    })
  }, [])

  return pug`
    canvas#render
  `
}

export default RenderPage
